package interfaces;
/** 
 * The general command class, which is to be extended by specific commands
 */
public abstract class Command {
	
	protected Cell c;
	
	protected Command(Cell c){
		this.c = c;
	}
	
	/** Executes this command on behalf of the Cell using the
	 *  board specified.
	 *  
	 *  @param b - the board used
	 *  @throws IllegalArgumentException if automaton or b is null.
	 */
	public abstract void execute(Board b);
}
